All:server client
# muduo_base 依赖 muduo_net , 先连接 muduo_net
server:server.cpp request.pb.cc ./include/muduo/protoc/codec.cc
	g++ -o $@ $^ -I./include -L./lib -lmuduo_net -lmuduo_base -std=c++11 -lpthread -lprotobuf -lz
client:client.cpp request.pb.cc ./include/muduo/protoc/codec.cc
	g++ -o $@ $^ -I./include -L./lib -lmuduo_net -lmuduo_base -std=c++11 -lpthread -lprotobuf -lz
.PHONY:clean
clean:
	rm -r client server
